package com.hkts.beltweigher.master.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2024-04-18
 */
public class RandomNumberSettings extends Model<RandomNumberSettings> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 班次
     */
    private Integer classes;
    /**
     * 开始值
     */
    private Float startValue;
    /**
     * 结束值
     */
    private Float endValue;

    /**
     * 系数
     */
    private Float coefficient;

    public Float getCoefficient() {
        return coefficient;
    }

    public void setCoefficient(Float coefficient) {
        this.coefficient = coefficient;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getClasses() {
        return classes;
    }

    public void setClasses(Integer classes) {
        this.classes = classes;
    }

    public Float getStartValue() {
        return startValue;
    }

    public void setStartValue(Float startValue) {
        this.startValue = startValue;
    }

    public Float getEndValue() {
        return endValue;
    }

    public void setEndValue(Float endValue) {
        this.endValue = endValue;
    }

    public static final String ID = "id";

    public static final String CLASSES = "classes";

    public static final String START_VALUE = "start_value";

    public static final String END_VALUE = "end_value";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RandomNumberSettings{" +
                ", id=" + id +
                ", classes=" + classes +
                ", startValue=" + startValue +
                ", endValue=" + endValue +
                "}";
    }
}
